import request from '@/utils/request'

export function list(pageNum,pageSize) {
  return request({
    url: '/asktype/list',
    method: 'get',
    params:{pageNum,pageSize}
  })
}

export function save(data) {
  return request({
    url: '/asktype/save',
    method: 'post',
    data
  })
}

export function remove(id) {
  return request({
    url: '/asktype/del/'+id,
    method: 'delete',
    data
  })
}


export function updateById(data) {
  return request({
    url: '/asktype/updateUserFlagById',
    method: 'post',
    data
  })
}


export function updateStudentFlagByStuNo(data) {
  return request({
    url: '/asktype/updateUserFlagById',
    method: 'post',
    data
  })
}
